﻿#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

////int main()
////{
////	float f = 5.5;
////	//5.5
////	//101.1
////	//1.011*2^2
////	//(-1)^0*1.011*2^2
////	//s=0
////	//M=1.011
////	//E=2
////	//2+127=129
////	//0100 0000 1011 00000000000000000000
////	//40 
////	printf("%f\n", f);
////	return 0;
////}
////struct Node
////{
////	int data;
////	struct Node* next;
////};
//
//
////struct S3
////{
////	double d;
////	char c;
////	int i;
////}; 
////
////struct S4
////{
////	char c1;
////	struct S3 s3;
////	double d;
////};
////struct S5
////{
////	char i;
////	int c[5];
////};
////
////int main()
////{
////
////	printf("%zd\n", sizeof(struct S3));
////	printf("%zd\n", sizeof(struct S4));
////	printf("%zd\n", sizeof(struct S5));
////	return 0;
////}
////
////
////
////struct S
////{
////	int data[1000];
////	int num;
////};
////struct S s = { {1,2,3,4}, 1000 };
//////结构体传参
////void print1(struct S s)
////{
////	printf("%d\n", s.num);
////}
//////结构体地址传参
////void print2(struct S* ps)
////{
////	printf("%d\n", ps->num);
////}
////int main()
////{
////	print1(s); //传结构体
////	print2(&s); //传地址
////	return 0;
////}
//
//struct gift_list
//{
//	int stock_number;//库存量
//	double price; //定价
//	int item_type;//商品类型
//
//	union {
//		struct g1
//		{
//			char title[20];//书名
//			char author[20];//作者
//			int num_pages;//⻚数
//		}book;
//		struct g2
//		{
//			char design[30];//设计
//		}mug;
//		struct g3
//		{
//			char design[30];//设计
//			int colors;//颜⾊
//			int sizes;//尺⼨
//		}shirt;
//	}item;
//};
//
//int main()
//{
//	struct gift_list gl;
//	gl.item.book.author;
//	return 0;
//}
//
//
//
//int check_sys()
//{
//	int n = 1;
//	return *(char*)&n;
//}
//
//
//
//
//int checc_sys()
//{
//	union Un
//	{
//		char c;
//		int i;
//	}u;
//	u.i = 1;
//	return u.c;//小端：返回1 大端：返回0
//}
//int main()
//{
//	int ret = check_sys();
//	if (ret ==1)
//		printf("小端\n");
//	else
//		printf("大端\n");
//	return 0;
//
//}


int main()
{
	char m[4];
	scanf("%s", m);
	char n[4];
	scanf("%s", n);
	char a[10] = { 0 };
	int i = 0;
	for (size_t i = 0; i < 3; i++)
	{
		a[i] = m[i];
	}
	for (size_t i = 0; i < 3; i++)
	{
		a[i + 3] = n[i];
	}
	printf("%s", a);
		return 0;
}